<?xml version="1.0" encoding="UTF-8"?>

<html xmlns="http://www.w3.org/1999/xhtml" style="width:100%;height:100%" class="no-js">  
  <head xmlns=""> 
    <meta charset="utf-8"/>  
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1"/>  
    <meta name="apple-mobile-web-app-capable" content="yes"/>  
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>  
    <meta name="format-detection" content="telephone=no"/>  
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>  
    <script src="../../../../../v_27bf899faf2d4268ab504fa7073bdc23l_zh_CNs_d_m/system/lib/base/modernizr-2.8.3.min.js"/>  
    <script id="__varReplace">
    	
    	    	window.__justep = window.__justep || {};
				window.__justep.isDebug = true;
				window.__justep.__packageMode = "1";
				window.__justep.__isPackage = false;;
				window.__justep.url = location.href;
				window.__justep.versionInfo = {};
		 
    	</script>  
    <script id="__updateVersion">
        
				(function(url, mode){
					if (("@"+"mode@") === mode) mode = "3";
					if (("@"+"versionUrl@") === url) url = "system/service/common/app.j";
					if ((mode!=="1" &amp;&amp; (mode!="2") &amp;&amp; (mode!="3"))) return;
					var async = (mode=="1");
					var x5Version = "noApp";
					var x5AppAgents = /x5app\/([0-9.]*)/.exec(navigator.userAgent);
					if(x5AppAgents &amp;&amp; x5AppAgents.length &gt; 1){
					   	x5Version = x5AppAgents[1] || "";
					} 
					function createXhr(){
						try {	
							return new XMLHttpRequest();
						}catch (tryMS) {	
							var version = ["MSXML2.XMLHttp.6.0",
							               "MSXML2.XMLHttp.3.0",
							               "MSXML2.XMLHttp",
							               "Miscrosoft.XMLHTTP"];
							for(var i = 0; i &lt; version.length; i++){
								try{
							    	return new ActiveXObject(version[i]);
								}catch(e){}
							}
						}
						throw new Error("您的系统或浏览器不支持XHR对象！");
					}
					
					function createGuid(){	
						var guid = '';	
						for (var i = 1; i &lt;= 32; i++){		
							var n = Math.floor(Math.random()*16.0).toString(16);		
							guid += n;		
							if((i==8)||(i==12)||(i==16)||(i==20))			
								guid += '-';	
						}	
						return guid;
					}
					
					function parseUrl(href){
						href = href.split("#")[0];
						var items = href.split("?");
						href = items[0];
						var query = items[1] || "";
						items = href.split("/");
						var baseItems = [];
						var pathItems = [];
						var isPath = false;
						for (var i=0; i&lt;items.length; i++){
							if (mode == "3"){
								if (items[i] &amp;&amp; (items[i].indexOf("v_") === 0) 
										&amp;&amp; (items[i].indexOf("l_") !== -1)
										&amp;&amp; (items[i].indexOf("s_") !== -1)
										&amp;&amp; (items[i].indexOf("d_") !== -1)
										|| (items[i]=="v_")){
									isPath = true;
									continue;
								}
							}else{
								if (items[i] &amp;&amp; (items[i].indexOf("v-")===0) &amp;&amp; (items[i].charAt(items[i].length-1)=="-") ){
									isPath = true;
									continue;
								}
							}
							if (isPath){
								pathItems.push(items[i]);
							}else{
								baseItems.push(items[i]);	
							}
							
						}
						var base = baseItems.join("/");
						if (base.charAt(base.length-1)!=="/") base += "/";
						
						var path = pathItems.join("/");
						if (path.charAt(0) !== "/") path = "/" + path;
						return [base, path, query];
					}
					
					
					var items = parseUrl(window.location.href);
					var base = items[0];
					var path = items[1];
					var query = items[2];
					var xhr = createXhr();
					url += ((url.indexOf("?")!=-1) ? "&amp;" : "?") +"_=" + createGuid();
					if (mode === "3"){
						url += "&amp;url=" + path;
						if (query)
							url += "&amp;" + query;
					}
					xhr.open('GET', base + url, async);
					
					if (async){
						xhr.onreadystatechange=function(){
							if((xhr.readyState == 4) &amp;&amp; (xhr.status == 200) &amp;&amp; xhr.responseText){
								var versionInfo = JSON.parse(xhr.responseText);
								window.__justep.versionInfo = versionInfo;
								window.__justep.versionInfo.baseUrl = base;
								if (query){
									path = path + "?" + query;
								}
								path = versionInfo.resourceInfo.indexURL || path; /* 如果返回indexPath则使用indexPath，否则使用当前的path */
								var indexUrl = versionInfo.baseUrl + versionInfo.resourceInfo.version + path;
								versionInfo.resourceInfo.indexPageURL = indexUrl;
								if(versionInfo.resourceInfo.resourceUpdateMode != "md5"){
									if (window.__justep.url.indexOf(versionInfo.resourceInfo.version) == -1){
										versionInfo.resourceInfo.isNewVersion = true;
									};
								}
							}
						}
					}
					
					try{
						xhr.send(null);
						if (!async &amp;&amp; (xhr.status == 200) &amp;&amp; xhr.responseText){
							var versionInfo = JSON.parse(xhr.responseText);
							window.__justep.versionInfo = versionInfo;
							window.__justep.versionInfo.baseUrl = base;
							if ((mode==="3") &amp;&amp; window.__justep.isDebug){
								/* 模式3且是调试模式不重定向 */
							}else{
								if (query){
									path = path + "?" + query;
								}
								if(versionInfo.resourceInfo.resourceUpdateMode == "md5"){
									path = versionInfo.resourceInfo.indexURL || path; /* 如果返回indexPath则使用indexPath，否则使用当前的path */
									var indexUrl = versionInfo.baseUrl + versionInfo.resourceInfo.version + path;
									versionInfo.resourceInfo.indexPageURL = indexUrl; 
								}else if (versionInfo.resourceInfo &amp;&amp; versionInfo.resourceInfo.version &amp;&amp; (window.__justep.url.indexOf(versionInfo.resourceInfo.version) == -1)){
									path = versionInfo.resourceInfo.indexURL || path; /* 如果返回indexPath则使用indexPath，否则使用当前的path */
									var indexUrl = versionInfo.baseUrl + versionInfo.resourceInfo.version + path;
									window.location.href = indexUrl;
								}
							}
						}
					}catch(e2){}
				}("@versionUrl@", "@mode@"));
                 
        </script>  
    <link rel="stylesheet" href="../../../../../v_4dc0cbb3743c41138e0208b5da9162f2l_zh_CNs_d_m/system/components/bootstrap.min.css" include="$model/UI2/system/components/bootstrap/lib/css/bootstrap,$model/UI2/system/components/bootstrap/lib/css/bootstrap-theme"/>
    <link rel="stylesheet" href="../../../../../v_91894121a8b34c158949243c6b867a9fl_zh_CNs_d_m/system/components/comp.min.css" include="$model/UI2/system/components/justep/lib/css2/dataControl,$model/UI2/system/components/justep/input/css/datePickerPC,$model/UI2/system/components/justep/messageDialog/css/messageDialog,$model/UI2/system/components/justep/lib/css3/round,$model/UI2/system/components/justep/input/css/datePicker,$model/UI2/system/components/justep/row/css/row,$model/UI2/system/components/justep/attachment/css/attachment,$model/UI2/system/components/justep/barcode/css/barcodeImage,$model/UI2/system/components/bootstrap/dropdown/css/dropdown,$model/UI2/system/components/justep/dataTables/css/dataTables,$model/UI2/system/components/justep/contents/css/contents,$model/UI2/system/components/justep/common/css/forms,$model/UI2/system/components/justep/locker/css/locker,$model/UI2/system/components/justep/menu/css/menu,$model/UI2/system/components/justep/scrollView/css/scrollView,$model/UI2/system/components/justep/loadingBar/loadingBar,$model/UI2/system/components/justep/dialog/css/dialog,$model/UI2/system/components/justep/bar/css/bar,$model/UI2/system/components/justep/popMenu/css/popMenu,$model/UI2/system/components/justep/lib/css/icons,$model/UI2/system/components/justep/lib/css4/e-commerce,$model/UI2/system/components/justep/toolBar/css/toolBar,$model/UI2/system/components/justep/popOver/css/popOver,$model/UI2/system/components/justep/panel/css/panel,$model/UI2/system/components/bootstrap/carousel/css/carousel,$model/UI2/system/components/justep/wing/css/wing,$model/UI2/system/components/bootstrap/scrollSpy/css/scrollSpy,$model/UI2/system/components/justep/titleBar/css/titleBar,$model/UI2/system/components/justep/lib/css1/linear,$model/UI2/system/components/justep/numberSelect/css/numberList,$model/UI2/system/components/justep/list/css/list,$model/UI2/system/components/justep/dataTables/css/dataTables"/>
  </head>  
  <body xmlns="" style="width:100%;height:100%;margin: 0;"> 
    <script intro="none"/>  
    <div id="applicationHost" class="applicationHost" style="width:100%;height:100%;" __component-context__="block">
      <div component="$model/UI2/system/components/justep/window/window" design="device:m;" xid="window" class="window cy2Ib2u" data-bind="component:{name:'$model/UI2/system/components/justep/window/window'}" __cid="cy2Ib2u" components="$model/UI2/system/components/justep/model/model,$model/UI2/system/components/justep/loadingBar/loadingBar,$model/UI2/system/components/justep/button/button,$model/UI2/system/components/justep/list/list,$model/UI2/system/components/bootstrap/row/row,$model/UI2/system/components/justep/panel/child,$model/UI2/system/components/justep/windowDialog/windowDialog,$model/UI2/system/components/justep/messageDialog/messageDialog,$model/UI2/system/components/justep/panel/panel,$model/UI2/system/components/justep/contents/content,$model/UI2/system/components/justep/windowContainer/windowContainer,$model/UI2/system/components/justep/row/row,$model/UI2/system/components/justep/titleBar/titleBar,$model/UI2/system/components/justep/contents/contents,$model/UI2/system/components/justep/data/data,$model/UI2/system/components/justep/window/window,$model/UI2/system/components/justep/data/baasData,$model/UI2/system/components/justep/button/buttonGroup,$model/UI2/system/components/justep/datePicker/datePicker,">  
        <style xmlns:xhtml="http://www.w3.org/1999/xhtml">.no-padding.cy2Ib2u{padding: 0} .x-dialog.x-dialog-normal.cy2Ib2u .x-dialog-body.cy2Ib2u{padding: 0} .btnCheck.cy2Ib2u{text-align: center; padding-top: 30px; box-shadow: 0 0 10px; position: relative; height: 100px; width: 100px; margin: auto; border-radius: 50%; background: rgb(0, 194, 255); margin-bottom: 10px} .atten_row.cy2Ib2u{margin: 0; margin-top: 15px} .lateText.cy2Ib2u{font-size: 1.2em} .tipRow.cy2Ib2u{color: rgb(153, 153, 153); text-align: center; display: none} .stateText.cy2Ib2u{display: block; color: rgb(255, 255, 255); font-size: medium; font-weight: bold} .timeText.cy2Ib2u{color: rgb(255, 255, 255); font-size: medium} .check_listText.cy2Ib2u{font-weight: bold; font-size: 1.1em} .locaBtn.cy2Ib2u{padding-left: 0px; padding-right: 0px} .tipOutText.cy2Ib2u{font-size: 1.2em} .x-card.btn-group.cy2Ib2u .btn.active.cy2Ib2u{border-top: 2px solid rgb(236, 202, 62)} .x-card.btn-group.cy2Ib2u .btn.cy2Ib2u{border-top: 1px solid rgb(221, 221, 221)}</style>  
        <div component="$model/UI2/system/components/justep/model/model" xid="model" style="display:none" data-bind="component:{name:'$model/UI2/system/components/justep/model/model'}" data-events="onModelConstruct:modelModelConstruct;onInactive:modelInactive;onLoad:modelLoad;onParamsReceive:modelParamsReceive" __cid="cy2Ib2u" class="cy2Ib2u"/>  
        <div component="$model/UI2/system/components/justep/panel/panel" class="x-panel x-full pcy2Ib2u-iosstatusbar cy2Ib2u" xid="panel1" data-bind="component:{name:'$model/UI2/system/components/justep/panel/panel'}" __cid="cy2Ib2u"> 
          <div class="x-panel-top cy2Ib2u" xid="top1" component="$model/UI2/system/components/justep/panel/child" data-bind="component:{name:'$model/UI2/system/components/justep/panel/child'}" __cid="cy2Ib2u"> 
            <div component="$model/UI2/system/components/justep/titleBar/titleBar" class="x-titlebar cy2Ib2u" style="background-color:#3399F3;" data-bind="component:{name:'$model/UI2/system/components/justep/titleBar/titleBar'}" data-config="{&quot;title&quot;:&quot;考勤打卡&quot;}" __cid="cy2Ib2u"> 
              <div class="x-titlebar-left cy2Ib2u" __cid="cy2Ib2u"> 
                <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link btn-only-icon cy2Ib2u" xid="backBtn" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:{operation:'window.close'}" data-config="{&quot;icon&quot;:&quot;icon-chevron-left&quot;,&quot;label&quot;:&quot;&quot;}" __cid="cy2Ib2u"> 
                  <i class="icon-chevron-left cy2Ib2u" __cid="cy2Ib2u"/>  
                  <span __cid="cy2Ib2u" class="cy2Ib2u"/> 
                </a> 
              </div>  
              <div class="x-titlebar-title cy2Ib2u" __cid="cy2Ib2u">考勤打卡</div>  
              <div class="x-titlebar-right  cy2Ib2u" __cid="cy2Ib2u"> 
                <div class="empty cy2Ib2u" __cid="cy2Ib2u"/>  
                <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link cy2Ib2u" xid="AttendanceAdminBtn" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-events="onClick:AttendanceAdminBtnClick" data-config="{&quot;label&quot;:&quot;设置&quot;}" __cid="cy2Ib2u"> 
                  <i xid="i9" __cid="cy2Ib2u" class="cy2Ib2u"/>  
                  <span xid="span9" __cid="cy2Ib2u" class="cy2Ib2u">设置</span> 
                </a> 
              </div> 
            </div> 
          </div>  
          <div class="x-panel-content x-cards no-padding cy2Ib2u" xid="content1" style="display:none;" component="$model/UI2/system/components/justep/panel/child" data-bind="component:{name:'$model/UI2/system/components/justep/panel/child'}" __cid="cy2Ib2u"> 
            <div component="$model/UI2/system/components/justep/contents/contents" class="x-contents x-full cy2Ib2u" xid="attenContents" data-bind="component:{name:'$model/UI2/system/components/justep/contents/contents'}" data-events="onActiveChange:attenContentsActiveChange" data-config="{&quot;active&quot;:0,&quot;slidable&quot;:false,&quot;swipe&quot;:false,&quot;wrap&quot;:false}" __cid="cy2Ib2u"> 
              <div class="x-contents-content active cy2Ib2u" xid="check" component="$model/UI2/system/components/justep/contents/content" data-bind="component:{name:'$model/UI2/system/components/justep/contents/content'}" __cid="cy2Ib2u"> 
                <div component="$model/UI2/system/components/justep/row/row" class="x-row cy2Ib2u" xid="selPicker" style="border-bottom:1px solid #ddd;" data-bind="component:{name:'$model/UI2/system/components/justep/row/row'},event:{click:$model._callModelFn.bind($model, 'selPickerClick')}" __cid="cy2Ib2u"> 
                  <div class="x-col x-col-fixed x-col-center cy2Ib2u" xid="col1" style="width:auto;" __cid="cy2Ib2u"> 
                    <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link btn-only-icon no-padding cy2Ib2u" xid="button1" style="font-size:2em;" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-config="{&quot;icon&quot;:&quot;icon-ios7-calendar-outline&quot;,&quot;label&quot;:&quot;button&quot;}" __cid="cy2Ib2u"> 
                      <i xid="i1" class="icon-ios7-calendar-outline cy2Ib2u" __cid="cy2Ib2u"/>  
                      <span xid="span1" __cid="cy2Ib2u" class="cy2Ib2u"/> 
                    </a> 
                  </div>  
                  <div class="x-col x-col-center cy2Ib2u" xid="col2" __cid="cy2Ib2u"> 
                    <span xid="weekSpan" __cid="cy2Ib2u" class="cy2Ib2u"/>  
                    <span xid="dateSpanc" __cid="cy2Ib2u" class="cy2Ib2u"/> 
                  </div>  
                  <div class="x-col x-col-fixed x-col-center cy2Ib2u" xid="col3" style="width:auto;" __cid="cy2Ib2u"> 
                    <a component="$model/UI2/system/components/justep/button/button" class="btn btn-default btn-link btn-only-icon cy2Ib2u" xid="button2" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-config="{&quot;icon&quot;:&quot;icon-chevron-down&quot;,&quot;label&quot;:&quot;button&quot;}" __cid="cy2Ib2u"> 
                      <i xid="i2" class="icon-chevron-down cy2Ib2u" __cid="cy2Ib2u"/>  
                      <span xid="span2" __cid="cy2Ib2u" class="cy2Ib2u"/> 
                    </a> 
                  </div> 
                </div>  
                <div component="$model/UI2/system/components/bootstrap/row/row" class="row atten_row cy2Ib2u" xid="checkIn" data-bind="component:{name:'$model/UI2/system/components/bootstrap/row/row'},style:$model.checkInOutData.val(&quot;fCheckInAM&quot;)?{'background':'white','border-bottom':'1px solid #ddd'}:{&quot;background&quot;:&quot;none&quot;,&quot;border&quot;:&quot;none&quot;}" __cid="cy2Ib2u"> 
                  <div class="col col-xs-12 cy2Ib2u" xid="col10" style="margin-bottom:25px;" __cid="cy2Ib2u"> 
                    <span xid="tipSpan" __cid="cy2Ib2u" class="cy2Ib2u" data-bind="visible:!$model.checkInOutData.val(&quot;fCheckInAM&quot;),text:'上班时间'+$model.TimeData.val(&quot;fStartAM&quot;)"/>  
                    <div xid="div9" style="margin-top:15px;" __cid="cy2Ib2u" class="cy2Ib2u" data-bind="visible:$model.checkInOutData.val(&quot;fCheckInAM&quot;)"> 
                      <div xid="div7" __cid="cy2Ib2u" class="cy2Ib2u"> 
                        <p xid="p2" style="padding-boottom:10px;color:#999;" __cid="cy2Ib2u" class="cy2Ib2u" data-bind="text:&quot;调整心情，开启美好心情开始工作&quot;"/>  
                        <div component="$model/UI2/system/components/justep/list/list" class="x-list cy2Ib2u" xid="list2" data-bind="component:{name:'$model/UI2/system/components/justep/list/list'}" data-config="{&quot;data&quot;:&quot;checkInOutData&quot;}" __cid="cy2Ib2u"> 
                          <ul class="x-list-template hide cy2Ib2u" xid="listTemplateUl2" __cid="cy2Ib2u" data-bind="foreach:{data:$model.foreach_list2($element),afterRender:$model.foreach_afterRender_list2.bind($model,$element)}"> 
                            <li xid="li2" __cid="cy2Ib2u" class="cy2Ib2u"> 
                              <span xid="span12" class="check_listText cy2Ib2u" __cid="cy2Ib2u" data-bind="text:$object.val(&quot;fCheckInAM&quot;)?&quot;打卡时间: &quot; + justep.Date.toString($object.val(&quot;fCheckInAM&quot;),&quot;hh:mm:ss&quot;):&quot;&quot;"/>  
                              <span xid="IntimeSpan" __cid="cy2Ib2u" class="cy2Ib2u" data-bind="text:$model.getStartTime($model.TimeData.val(&quot;fStartAM&quot;))"/> 
                            </li> 
                          </ul> 
                        </div> 
                      </div>  
                      <div xid="div4" __cid="cy2Ib2u" class="cy2Ib2u"> 
                        <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link locaBtn cy2Ib2u" xid="button6" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-config="{&quot;icon&quot;:&quot;linear linear-bicycle&quot;}" __cid="cy2Ib2u"> 
                          <i xid="i3" class="linear linear-bicycle cy2Ib2u" __cid="cy2Ib2u"/>  
                          <span xid="span3" __cid="cy2Ib2u" class="cy2Ib2u"/> 
                        </a>  
                        <span xid="checkInArea" __cid="cy2Ib2u" class="cy2Ib2u" data-bind="text:$model.checkInOutData.val(&quot;fCheckAreaAM&quot;)"/> 
                      </div>  
                      <div xid="div5" style="display:inline-block;" __cid="cy2Ib2u" class="cy2Ib2u"> 
                        <span xid="statuSpanAM" __cid="cy2Ib2u" class="cy2Ib2u" data-bind="text:$model.checkInOutData.val(&quot;fIsLate&quot;)? $model.checkInOutData.val(&quot;fIsLate&quot;):&quot;正常&quot;,style:$model.checkInOutData.val(&quot;fIsLate&quot;)?{&quot;color&quot;:&quot;orange&quot;}:{&quot;color&quot;:&quot;green&quot;}"/> 
                      </div> 
                    </div> 
                  </div>  
                  <div class="col col-xs-4 col-xs-offset-4 cy2Ib2u" xid="col11" __cid="cy2Ib2u" data-bind="visible:!$model.checkInOutData.val(&quot;fCheckInAM&quot;)"> 
                    <div xid="buttonCheck" class="btnCheck cy2Ib2u" __cid="cy2Ib2u" data-bind="event:{click:$model._callModelFn.bind($model, 'buttonCheckInClick')}"> 
                      <span xid="stateSpan" class="stateText cy2Ib2u" __cid="cy2Ib2u">上班打卡</span>  
                      <span xid="systemTime" class="timeText cy2Ib2u" __cid="cy2Ib2u"/> 
                    </div> 
                  </div>  
                  <div component="$model/UI2/system/components/justep/row/row" class="x-row tipRow cy2Ib2u" xid="tipInfoRow" data-bind="component:{name:'$model/UI2/system/components/justep/row/row'}" __cid="cy2Ib2u"> 
                    <div class="x-col cy2Ib2u" xid="col4" __cid="cy2Ib2u"> 
                      <span xid="span7" class="lateText cy2Ib2u" __cid="cy2Ib2u">对不起,暂无数据</span> 
                    </div> 
                  </div> 
                </div>  
                <div component="$model/UI2/system/components/bootstrap/row/row" class="row cy2Ib2u" xid="checkOut" style="margin:0;margin-top:10px;background:rgb(255,255,255);display:none;" data-bind="component:{name:'$model/UI2/system/components/bootstrap/row/row'},visible:$model.checkInOutData.val(&quot;fCheckInAM&quot;)" __cid="cy2Ib2u"> 
                  <div class="col col-xs-12 cy2Ib2u" xid="col23" style="padding-top:15px;" __cid="cy2Ib2u"> 
                    <span xid="EndTimeSpan" __cid="cy2Ib2u" class="cy2Ib2u" data-bind="visible:!$model.checkInOutData.val(&quot;fCheckOutPM&quot;)"/>  
                    <div xid="div10" style="margin-top:15px;" __cid="cy2Ib2u" class="cy2Ib2u" data-bind="visible:$model.checkInOutData.val(&quot;fCheckOutPM&quot;)"> 
                      <div xid="div11" __cid="cy2Ib2u" class="cy2Ib2u"> 
                        <div component="$model/UI2/system/components/justep/list/list" class="x-list cy2Ib2u" xid="list3" data-bind="component:{name:'$model/UI2/system/components/justep/list/list'}" data-config="{&quot;data&quot;:&quot;checkInOutData&quot;}" __cid="cy2Ib2u"> 
                          <ul class="x-list-template hide cy2Ib2u" xid="listTemplateUl3" __cid="cy2Ib2u" data-bind="foreach:{data:$model.foreach_list3($element),afterRender:$model.foreach_afterRender_list3.bind($model,$element)}"> 
                            <li xid="li3" __cid="cy2Ib2u" class="cy2Ib2u"> 
                              <span xid="span16" class="check_listText cy2Ib2u" __cid="cy2Ib2u" data-bind="text:$object.val(&quot;fCheckOutPM&quot;)?&quot;打卡时间: &quot; +  justep.Date.toString($object.val(&quot;fCheckOutPM&quot;),&quot;hh:mm:ss&quot;):&quot;&quot;"/>  
                              <span xid="span15" __cid="cy2Ib2u" class="cy2Ib2u" data-bind="text:$model.getEndTime($model.TimeData.val(&quot;fEndPM&quot;))"/> 
                            </li> 
                          </ul> 
                        </div> 
                      </div>  
                      <div xid="div6" __cid="cy2Ib2u" class="cy2Ib2u"> 
                        <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link locaBtn cy2Ib2u" xid="button8" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-config="{&quot;icon&quot;:&quot;linear linear-bicycle&quot;}" __cid="cy2Ib2u"> 
                          <i xid="i7" class="linear linear-bicycle cy2Ib2u" __cid="cy2Ib2u"/>  
                          <span xid="span10" __cid="cy2Ib2u" class="cy2Ib2u"/> 
                        </a>  
                        <span xid="checkOutArea" __cid="cy2Ib2u" class="cy2Ib2u" data-bind="text:$model.checkInOutData.val(&quot;fCheckAreaPM&quot;)"/> 
                      </div>  
                      <span xid="statuSpanPM" style="display:block;" __cid="cy2Ib2u" class="cy2Ib2u" data-bind="text:$model.checkInOutData.val(&quot;fIsLeaving&quot;)? $model.checkInOutData.val(&quot;fIsLeaving&quot;):&quot;正常&quot;,style:$model.checkInOutData.val(&quot;fIsLeaving&quot;)?{&quot;color&quot;:&quot;orange&quot;}:{&quot;color&quot;:&quot;green&quot;}"/>  
                      <a component="$model/UI2/system/components/justep/button/button" class="btn btn-link btn-sm btn-icon-left cy2Ib2u" xid="changeStatus" style="padding-left:0;" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'},event:{click:$model._callModelFn.bind($model, 'changeStatusClick')}" data-config="{&quot;icon&quot;:&quot;linear linear-redo&quot;,&quot;label&quot;:&quot;更换打卡状态&quot;}" __cid="cy2Ib2u"> 
                        <i xid="i6" class="linear linear-redo cy2Ib2u" __cid="cy2Ib2u"/>  
                        <span xid="span8" __cid="cy2Ib2u" class="cy2Ib2u">更换打卡状态</span> 
                      </a>  
                      <div xid="div8" __cid="cy2Ib2u" class="cy2Ib2u"> 
                        <p xid="p1" style="color:#999;" __cid="cy2Ib2u" class="cy2Ib2u">一天工作辛苦了，好好休息</p> 
                      </div> 
                    </div> 
                  </div>  
                  <div class="col col-xs-4 col-xs-offset-4 cy2Ib2u" xid="col22" __cid="cy2Ib2u" data-bind="visible:!$model.checkInOutData.val(&quot;fCheckOutPM&quot;)"> 
                    <div xid="buttonCheckOut" class="btnCheck cy2Ib2u" __cid="cy2Ib2u" data-bind="event:{click:$model._callModelFn.bind($model, 'buttonCheckOutClick')}"> 
                      <span xid="span4" style="display:block;" class="stateText cy2Ib2u" __cid="cy2Ib2u">下班打卡</span>  
                      <span xid="systemTime2" class="timeText cy2Ib2u" __cid="cy2Ib2u"/> 
                    </div> 
                  </div> 
                </div>  
                <div component="$model/UI2/system/components/justep/row/row" class="x-row tipRow cy2Ib2u" xid="tipOutRow" data-bind="component:{name:'$model/UI2/system/components/justep/row/row'}" __cid="cy2Ib2u"> 
                  <div class="x-col cy2Ib2u" xid="col5" __cid="cy2Ib2u"> 
                    <span xid="tipOutSpan" class="tipOutText cy2Ib2u" __cid="cy2Ib2u">对不起,暂无数据</span> 
                  </div> 
                </div> 
              </div>  
              <div class="x-contents-content cy2Ib2u" xid="statistics" component="$model/UI2/system/components/justep/contents/content" data-bind="component:{name:'$model/UI2/system/components/justep/contents/content'}" __cid="cy2Ib2u"> 
                <div component="$model/UI2/system/components/justep/windowContainer/windowContainer" class="x-window-container cy2Ib2u" xid="navContainer" __component-context__="block" data-bind="component:{name:'$model/UI2/system/components/justep/windowContainer/windowContainer'}" data-config="{&quot;autoLoad&quot;:false,&quot;src&quot;:&quot;$model/UI2/work/attendance/process/attendance/CountAttendanceActivity.w&quot;}" __cid="cy2Ib2u"/> 
              </div> 
            </div> 
          </div>  
          <div class="x-panel-bottom cy2Ib2u" xid="bottom1" component="$model/UI2/system/components/justep/panel/child" data-bind="component:{name:'$model/UI2/system/components/justep/panel/child'}" __cid="cy2Ib2u"> 
            <div component="$model/UI2/system/components/justep/button/buttonGroup" class="btn-group x-card btn-group-justified cy2Ib2u" xid="buttonGroup1" data-bind="component:{name:'$model/UI2/system/components/justep/button/buttonGroup'}" data-config="{&quot;selected&quot;:&quot;button4&quot;,&quot;tabbed&quot;:true}" __cid="cy2Ib2u"> 
              <a component="$model/UI2/system/components/justep/button/button" class="btn btn-default btn-icon-top cy2Ib2u" xid="button4" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-config="{&quot;label&quot;:&quot;打卡&quot;,&quot;target&quot;:&quot;check&quot;}" __cid="cy2Ib2u"> 
                <i xid="i4" class="icon-android-checkmark cy2Ib2u" __cid="cy2Ib2u"/>  
                <span xid="span5" __cid="cy2Ib2u" class="cy2Ib2u">打卡</span> 
              </a>  
              <a component="$model/UI2/system/components/justep/button/button" class="btn btn-default btn-icon-top cy2Ib2u" xid="button5" data-bind="component:{name:'$model/UI2/system/components/justep/button/button'}" data-config="{&quot;icon&quot;:&quot;icon-android-note&quot;,&quot;label&quot;:&quot;统计&quot;,&quot;target&quot;:&quot;statistics&quot;}" __cid="cy2Ib2u"> 
                <i xid="i5" class="icon-android-note cy2Ib2u" __cid="cy2Ib2u"/>  
                <span xid="span6" __cid="cy2Ib2u" class="cy2Ib2u">统计</span> 
              </a> 
            </div> 
          </div>  
          <style __cid="cy2Ib2u" class="cy2Ib2u">.x-panel.pcy2Ib2u-iosstatusbar &gt;.x-panel-top {height: 48px;}.x-panel.pcy2Ib2u-iosstatusbar &gt;.x-panel-content { top: 48px;bottom: nullpx;}.x-panel.pcy2Ib2u-iosstatusbar &gt;.x-panel-bottom {height: nullpx;}.iosstatusbar .x-panel.pcy2Ib2u-iosstatusbar &gt;.x-panel-top,.iosstatusbar .x-panel .x-panel-content .x-has-iosstatusbar.x-panel.pcy2Ib2u-iosstatusbar &gt;.x-panel-top {height: 68px;}.iosstatusbar .x-panel.pcy2Ib2u-iosstatusbar &gt;.x-panel-content,.iosstatusbar .x-panel .x-panel-content .x-has-iosstatusbar.x-panel.pcy2Ib2u-iosstatusbar &gt;.x-panel-content { top: 68px;}.iosstatusbar .x-panel .x-panel-content .x-panel.pcy2Ib2u-iosstatusbar &gt;.x-panel-top {height: 48px;}.iosstatusbar .x-panel .x-panel-content .x-panel.pcy2Ib2u-iosstatusbar &gt;.x-panel-content {top: 48px;}</style> 
        </div>  
        <div component="$model/UI2/system/components/justep/datePicker/datePicker" class="x-popPicker cy2Ib2u" xid="datePicker" style="top:13px;left:523px;" data-bind="component:{name:'$model/UI2/system/components/justep/datePicker/datePicker'}" data-events="onOK:datePickerOK" data-config="{&quot;type&quot;:&quot;date&quot;}" __cid="cy2Ib2u"> 
          <div class="x-popPicker-overlay cy2Ib2u" xid="div1" __cid="cy2Ib2u"/>  
          <div class="x-popPicker-content cy2Ib2u" xid="div2" __cid="cy2Ib2u"> 
            <div class="x-poppicker-header cy2Ib2u" xid="div3" __cid="cy2Ib2u"> 
              <button class="btn btn-default x-btn-ok cy2Ib2u" xid="button3" __cid="cy2Ib2u">确定</button> 
            </div> 
          </div> 
        </div>  
        <span component="$model/UI2/system/components/justep/windowDialog/windowDialog" xid="remarkDialog" data-bind="component:{name:'$model/UI2/system/components/justep/windowDialog/windowDialog'}" data-events="onReceived:remarkDialogReceived" data-config="{&quot;forceRefreshOnOpen&quot;:true,&quot;height&quot;:&quot;60%&quot;,&quot;showTitle&quot;:true,&quot;src&quot;:&quot;$model/UI2/work/attendance/process/attendance/remarkActivity.m.w&quot;,&quot;status&quot;:&quot;normal&quot;,&quot;width&quot;:&quot;80%&quot;}" __cid="cy2Ib2u" class="cy2Ib2u"> 
          <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-dialog-overlay cy2Ib2u" __cid="cy2Ib2u"></div>  
          <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-dialog cy2Ib2u" style="display:none;" showTitle="true" __cid="cy2Ib2u">  
            <div class="x-dialog-title cy2Ib2u" __cid="cy2Ib2u"> 
              <button class="close cy2Ib2u" __cid="cy2Ib2u"> 
                <span __cid="cy2Ib2u" class="cy2Ib2u">×</span> 
              </button>  
              <div class="x-dialog-title-text cy2Ib2u" __cid="cy2Ib2u"/> 
            </div>  
            <div class="x-dialog-body cy2Ib2u" __cid="cy2Ib2u"/> 
          </div> 
        </span>  
        <span component="$model/UI2/system/components/justep/windowDialog/windowDialog" xid="remarkOutDialog" data-bind="component:{name:'$model/UI2/system/components/justep/windowDialog/windowDialog'}" data-events="onReceived:remarkOutDialogReceived" data-config="{&quot;forceRefreshOnOpen&quot;:true,&quot;height&quot;:&quot;60%&quot;,&quot;showTitle&quot;:true,&quot;src&quot;:&quot;$model/UI2/work/attendance/process/attendance/remarkOutActivity.m.w&quot;,&quot;status&quot;:&quot;normal&quot;,&quot;width&quot;:&quot;80%&quot;}" __cid="cy2Ib2u" class="cy2Ib2u"> 
          <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-dialog-overlay cy2Ib2u" __cid="cy2Ib2u"></div>  
          <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-dialog cy2Ib2u" style="display:none;" showTitle="true" __cid="cy2Ib2u">  
            <div class="x-dialog-title cy2Ib2u" __cid="cy2Ib2u"> 
              <button class="close cy2Ib2u" __cid="cy2Ib2u"> 
                <span __cid="cy2Ib2u" class="cy2Ib2u">×</span> 
              </button>  
              <div class="x-dialog-title-text cy2Ib2u" __cid="cy2Ib2u"/> 
            </div>  
            <div class="x-dialog-body cy2Ib2u" __cid="cy2Ib2u"/> 
          </div> 
        </span>  
        <span component="$model/UI2/system/components/justep/messageDialog/messageDialog" xid="successDialog" data-bind="component:{name:'$model/UI2/system/components/justep/messageDialog/messageDialog'}" data-config="{&quot;message&quot;:&quot;打卡成功&quot;,&quot;type&quot;:&quot;OK&quot;}" __cid="cy2Ib2u" class="cy2Ib2u"> 
          <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-modal-overlay cy2Ib2u" __cid="cy2Ib2u"></div>  
          <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-modal cy2Ib2u" __cid="cy2Ib2u">  
            <div class="x-modal-inner cy2Ib2u" __cid="cy2Ib2u"> 
              <div class="x-modal-title cy2Ib2u" __cid="cy2Ib2u"/>  
              <div class="x-modal-text cy2Ib2u" __cid="cy2Ib2u">打卡成功</div>  
              <input class="x-modal-prompt-input cy2Ib2u" type="text" __cid="cy2Ib2u"/> 
            </div>  
            <div class="x-modal-buttons cy2Ib2u" __cid="cy2Ib2u"> 
              <a class="x-modal-button x-modal-button-bold OK cy2Ib2u" value="ok" __cid="cy2Ib2u">确定</a>  
              <a class="x-modal-button x-modal-button-bold Yes cy2Ib2u" value="yes" __cid="cy2Ib2u">是</a>  
              <a class="x-modal-button x-modal-button-bold No cy2Ib2u" value="no" __cid="cy2Ib2u">否</a>  
              <a class="x-modal-button x-modal-button-bold Cancel cy2Ib2u" value="cancel" __cid="cy2Ib2u">取消</a> 
            </div> 
          </div> 
        </span>  
        <span component="$model/UI2/system/components/justep/messageDialog/messageDialog" xid="successOutDialog" data-bind="component:{name:'$model/UI2/system/components/justep/messageDialog/messageDialog'}" data-config="{&quot;message&quot;:&quot;打卡成功&quot;,&quot;type&quot;:&quot;OK&quot;}" __cid="cy2Ib2u" class="cy2Ib2u"> 
          <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-modal-overlay cy2Ib2u" __cid="cy2Ib2u"></div>  
          <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-modal cy2Ib2u" __cid="cy2Ib2u">  
            <div class="x-modal-inner cy2Ib2u" __cid="cy2Ib2u"> 
              <div class="x-modal-title cy2Ib2u" __cid="cy2Ib2u"/>  
              <div class="x-modal-text cy2Ib2u" __cid="cy2Ib2u">打卡成功</div>  
              <input class="x-modal-prompt-input cy2Ib2u" type="text" __cid="cy2Ib2u"/> 
            </div>  
            <div class="x-modal-buttons cy2Ib2u" __cid="cy2Ib2u"> 
              <a class="x-modal-button x-modal-button-bold OK cy2Ib2u" value="ok" __cid="cy2Ib2u">确定</a>  
              <a class="x-modal-button x-modal-button-bold Yes cy2Ib2u" value="yes" __cid="cy2Ib2u">是</a>  
              <a class="x-modal-button x-modal-button-bold No cy2Ib2u" value="no" __cid="cy2Ib2u">否</a>  
              <a class="x-modal-button x-modal-button-bold Cancel cy2Ib2u" value="cancel" __cid="cy2Ib2u">取消</a> 
            </div> 
          </div> 
        </span>  
        <span component="$model/UI2/system/components/justep/messageDialog/messageDialog" xid="warningDialog" data-bind="component:{name:'$model/UI2/system/components/justep/messageDialog/messageDialog'}" data-config="{&quot;message&quot;:&quot;你只能为今天打卡!!!!!&quot;,&quot;type&quot;:&quot;OK&quot;}" __cid="cy2Ib2u" class="cy2Ib2u"> 
          <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-modal-overlay cy2Ib2u" __cid="cy2Ib2u"></div>  
          <div xmlns:xhtml="http://www.w3.org/1999/xhtml" class="x-modal cy2Ib2u" __cid="cy2Ib2u">  
            <div class="x-modal-inner cy2Ib2u" __cid="cy2Ib2u"> 
              <div class="x-modal-title cy2Ib2u" __cid="cy2Ib2u"/>  
              <div class="x-modal-text cy2Ib2u" __cid="cy2Ib2u">你只能为今天打卡!!!!!</div>  
              <input class="x-modal-prompt-input cy2Ib2u" type="text" __cid="cy2Ib2u"/> 
            </div>  
            <div class="x-modal-buttons cy2Ib2u" __cid="cy2Ib2u"> 
              <a class="x-modal-button x-modal-button-bold OK cy2Ib2u" value="ok" __cid="cy2Ib2u">确定</a>  
              <a class="x-modal-button x-modal-button-bold Yes cy2Ib2u" value="yes" __cid="cy2Ib2u">是</a>  
              <a class="x-modal-button x-modal-button-bold No cy2Ib2u" value="no" __cid="cy2Ib2u">否</a>  
              <a class="x-modal-button x-modal-button-bold Cancel cy2Ib2u" value="cancel" __cid="cy2Ib2u">取消</a> 
            </div> 
          </div> 
        </span> 
      </div>
    </div>  
    <div id="downloadGCF" style="display:none;padding:50px;"> 
      <span>您使用的浏览器需要下载插件才能使用,</span>  
      <a id="downloadGCFLink" href="#">下载地址</a>  
      <p>(安装后请重新打开浏览器)</p> 
    </div>  
    <script>
    	
    	            //判断浏览器, 判断GCF
    	 			var browser = {
    			        isIe: function () {
    			            return navigator.appVersion.indexOf("MSIE") != -1;
    			        },
    			        navigator: navigator.appVersion,
    			        getVersion: function() {
    			            var version = 999; // we assume a sane browser
    			            if (navigator.appVersion.indexOf("MSIE") != -1)
    			                // bah, IE again, lets downgrade version number
    			                version = parseFloat(navigator.appVersion.split("MSIE")[1]);
    			            return version;
    			        }
    			    };
    				function isGCFInstalled(){
    			      try{
    			        var i = new ActiveXObject('ChromeTab.ChromeFrame');
    			        if (i) {
    			          return true;
    			        }
    			      }catch(e){}
    			      return false;
    				}
    	            //判断浏览器, 判断GCF
    	            var __continueRun = true;
    				if (browser.isIe() &amp;&amp; (browser.getVersion() &lt; 10) &amp;&amp; !isGCFInstalled()) {
    					document.getElementById("applicationHost").style.display = 'none';
    					document.getElementById("downloadGCF").style.display = 'block';
    					var downloadLink = "/" + location.pathname.match(/[^\/]+/)[0] + "/v8.msi";
    					document.getElementById("downloadGCFLink").href = downloadLink; 
    					__continueRun = false;
    	            }
		 	
    	</script>  
    <script id="_metaJS" src="../../../../../v_435bd95ad8dd4b9dafb5c89bf3567735l_zh_CNs_d_m/system/config/meta.js"> </script>  
    <script id="_requireJS" src="../../../../../v_b701db9cf909403f9236d3bd88561670l_zh_CNs_d_m/system/lib/require/require.2.1.10.js"> </script>  
    <script xmlns:xhtml="http://www.w3.org/1999/xhtml" src="../../../../../v_b27fd67b9ef34734920f1ad4be0d6924l_zh_CNs_d_m/system/core.min.js"></script>
    <script xmlns:xhtml="http://www.w3.org/1999/xhtml" src="../../../../../v_83a7b9fdaab948828105b9c11227f6cel_zh_CNs_d_m/system/common.min.js"></script>
    <script xmlns:xhtml="http://www.w3.org/1999/xhtml" src="../../../../../v_e0a1018abfd647cba612f928abf6ceebl_zh_CNs_d_m/system/components/comp.min.js"></script>
    <script xmlns:xhtml="http://www.w3.org/1999/xhtml" src="../../../../../v_6070121e998e4e17ba682bcd4aeb2fdel_zh_CNs_d_m/system/components/comp2.min.js"></script>
    <script id="_mainScript">
        
			if (__continueRun) {
                window.__justep.cssReady = function(fn){
                	var promises = [];
                	for (var p in window.__justep.__ResourceEngine.__loadingCss){
                		if(window.__justep.__ResourceEngine.__loadingCss.hasOwnProperty(p))
                			promises.push(window.__justep.__ResourceEngine.__loadingCss[p].promise());
                	}
                	$.when.apply($, promises).done(fn);
                };
                
            	window.__justep.__ResourceEngine = {
            		readyRegExp : navigator.platform === 'PLAYSTATION 3' ? /^complete$/ : /^(complete|loaded)$/,
            		url: window.location.href,	
            		/*contextPath: 不包括语言 */
            		contextPath: "",
            		serverPath: "",
            		__loadedJS: [],
            		__loadingCss: {},
            		onLoadCss: function(url, node){
            			if (!this.__loadingCss[url]){
            				this.__loadingCss[url] = $.Deferred();	
                			if (node.attachEvent &amp;&amp;
                                    !(node.attachEvent.toString &amp;&amp; node.attachEvent.toString().indexOf('[native code') &lt; 0) &amp;&amp;
                                    !(typeof opera !== 'undefined' &amp;&amp; opera.toString() === '[object Opera]')) {
                                node.attachEvent('onreadystatechange', this.onLinkLoad.bind(this));
                            } else {
                                node.addEventListener('load', this.onLinkLoad.bind(this), false);
                                node.addEventListener('error', this.onLinkError.bind(this), false);
                            }
            			}
            		},
            		
            		onLinkLoad: function(evt){
            	        var target = (evt.currentTarget || evt.srcElement);
            	        if (evt.type === 'load' ||
                                (this.readyRegExp.test(target.readyState))) {
            	        	var url = target.getAttribute("href");
            	        	if (url &amp;&amp; window.__justep.__ResourceEngine.__loadingCss[url]){
            	        		window.__justep.__ResourceEngine.__loadingCss[url].resolve(url);
            	        	}
                        }
            		},
            		
            		onLinkError: function(evt){
            	        var target = (evt.currentTarget || evt.srcElement);
        	        	var url = target.getAttribute("href");
        	        	if (url &amp;&amp; window.__justep.__ResourceEngine.__loadingCss[url]){
        	        		window.__justep.__ResourceEngine.__loadingCss[url].resolve(url);
        	        	}
            		},
            		
            		initContextPath: function(){
            			var baseURL = document.getElementById("_requireJS").src;
            			var before = location.protocol + "//" + location.host;
            			var after = "/system/lib/require/require.2.1.10";
            			var i = baseURL.indexOf(after);
            			if (i !== -1){
    	        			var middle = baseURL.substring(before.length, i);
    						var items = middle.split("/");
    						
    						
    						if ((items[items.length-1].indexOf("v_") === 0) 
    								&amp;&amp; (items[items.length-1].indexOf("l_") !== -1)
    								&amp;&amp; (items[items.length-1].indexOf("s_") !== -1)
    								&amp;&amp; (items[items.length-1].indexOf("d_") !== -1)
    								|| (items[items.length-1]=="v_")){
    							items.splice(items.length-1, 1);
    						}
    						
    						
    						if (items.length !== 1){
    							window.__justep.__ResourceEngine.contextPath = items.join("/");
    						}else{
    							window.__justep.__ResourceEngine.contextPath = before;
    						}
    						var index = window.__justep.__ResourceEngine.contextPath.lastIndexOf("/");
    						if (index != -1){
    							window.__justep.__ResourceEngine.serverPath = window.__justep.__ResourceEngine.contextPath.substr(0, index);
    						}else{
    							window.__justep.__ResourceEngine.serverPath = window.__justep.__ResourceEngine.contextPath;
    						}
            			}else{
            				throw new Error(baseURL + " hasn't  " + after);
            			}
            		},
            	
            		loadJs: function(urls){
            			if (urls &amp;&amp; urls.length&gt;0){
            				var loadeds = this._getResources("script", "src").concat(this.__loadedJS);
    	       				for (var i=0; i&lt;urls.length; i++){
								var url = urls[i];
    	        				if(!this._isLoaded(url, loadeds)){
    	        					this.__loadedJS[this.__loadedJS.length] = url;
    	        					/*
    	        					var script = document.createElement("script");
    	        					script.src = url;
    	        					document.head.appendChild(script);
    	        					*/
    	        					//$("head").append("&lt;script  src='" + url + "'/&gt;");
									var url = require.toUrl("$UI" + url);
    	        					$.ajax({
    	        						url: url,
    	        						dataType: "script",
    	        						cache: true,
    	        						async: false,
    	        						success: function(){}
    	        						});
    	        				} 
    	       				}
            			}
            		},
            		
            		loadCss: function(styles){
           				var loadeds = this._getResources("link", "href");
            			if (styles &amp;&amp; styles.length&gt;0){
            				for (var i=0; i&lt;styles.length; i++){
    	       					var url = window.__justep.__ResourceEngine.contextPath + styles[i].url
    	        				if(!this._isLoaded(url, loadeds)){
    	        					var include = styles[i].include || "";
    	        					var link = $("&lt;link type='text/css' rel='stylesheet' href='" + url + "' include='" + include + "'/&gt;");
    	        					this.onLoadCss(url, link[0]);
    	        					$("head").append(link);
    	        				} 
            				}
            			}
            			
            		},
            		
            		
            		_isLoaded: function(url, loadeds){
            			if (url){
            				var newUrl = "";
            				var items = url.split("/");
            				var isVls = false;
            				for (var i=0; i&lt;items.length; i++){
            					if (isVls){
                					newUrl += "/" + items[i];
            					}else{
                					if (items[i] &amp;&amp; (items[i].indexOf("v_")===0)
            								&amp;&amp; (items[i].indexOf("l_")!==-1)
            								&amp;&amp; (items[i].indexOf("s_")!==-1)
            								&amp;&amp; (items[i].indexOf("d_")!==-1)
            								|| (items[i]=="v_")){
                						isVls = true;
                					}
            					}
            				}
            				if (!newUrl)
            					newUrl = url;
            				
            				for (var i=0; i&lt;loadeds.length; i++){
								var originUrl = this._getOriginUrl(loadeds[i]);
								if (originUrl &amp;&amp; (originUrl.indexOf(newUrl)!==-1)){
									return true;
								}
    						}
            			}
    					return false;
            		},

					_getOriginUrl: function(url){
						var result = "";
						if (url &amp;&amp; (url.indexOf(".md5_")!==-1)){
							url = url.split("#")[0];
							url = url.split("?")[0];
							var items = url.split(".");
							for (var i=0; i&lt;items.length; i++){
								if ((i===items.length-2) &amp;&amp; (items[i].indexOf("md5_")!==-1)){
									continue;
								}else{
									if (i&gt;0) result += ".";
									result += items[i];
								}
							}
						}else{
							result = url;
						}
						return result;
					},
            		
            		_getResources: function(tag, attr){
    					var result = [];
    					var scripts = $(tag);
    					for (var i=0; i&lt;scripts.length; i++){
    						var v = scripts[i][attr];
    						if (v){
    							result[result.length] = v;
    						}
    					}
    					return result;
            		}
            	};
            	
            	window.__justep.__ResourceEngine.initContextPath();
    			requirejs.config({
    				baseUrl: window.__justep.__ResourceEngine.contextPath + '/v_d907d76ee2f8441cb0bd9b427f803006l_zh_CNs_d_m/work/attendance/process/attendance',
    			    paths: {
    			    	/* 解决require.normalizeName与require.toUrl嵌套后不一致的bug   */
    			    	'$model/UI2/v_': window.__justep.__ResourceEngine.contextPath + '/v_d907d76ee2f8441cb0bd9b427f803006l_zh_CNs_d_m',
    			    	'$model/UI2': window.__justep.__ResourceEngine.contextPath + '/v_d907d76ee2f8441cb0bd9b427f803006l_zh_CNs_d_m',
    			    	'$model': window.__justep.__ResourceEngine.serverPath,
    			        'text': window.__justep.__ResourceEngine.contextPath + '/v_d907d76ee2f8441cb0bd9b427f803006l_zh_CNs_d_m/system/lib/require/text.2.0.10',
    			        'bind': window.__justep.__ResourceEngine.contextPath + '/v_d907d76ee2f8441cb0bd9b427f803006l_zh_CNs_d_m/system/lib/bind/bind',
    			        'jquery': window.__justep.__ResourceEngine.contextPath + '/v_d907d76ee2f8441cb0bd9b427f803006l_zh_CNs_d_m/system/lib/jquery/jquery-1.11.1.min'
    			    },
    			    map: {
    				        '*': {
    				            res: '$model/UI2/system/lib/require/res',
    				            cordova: '$model/UI2/system/lib/require/cordova',
    				            w: '$model/UI2/system/lib/require/w',
    				            css: '$model/UI2/system/lib/require/css'
    				        }
    				},
    				waitSeconds: 300
    			});
    			
    			requirejs(['require', 'jquery', '$model/UI2/system/lib/base/composition', '$model/UI2/system/lib/base/url', '$model/UI2/system/lib/route/hashbangParser', '$model/UI2/system/components/justep/versionChecker/versionChecker', '$model/UI2/system/components/justep/loadingBar/loadingBar', '$model/UI2/system/lib/jquery/domEvent',  '$model/UI2/system/lib/cordova/cordova'],  function (require, $, composition, URL, HashbangParser,versionChecker) { 
    				document.addEventListener('deviceready', function() {
    	                if (navigator &amp;&amp; navigator.splashscreen &amp;&amp; navigator.splashscreen.hide) {
    	                	/*延迟隐藏，视觉效果更理想*/
    	                	setTimeout(function() {navigator.splashscreen.hide();}, 800);
    	                }
    	            }, false);
					setTimeout(function(){
						versionChecker.check();
					},2000);
    				var context = {};
    				context.model = '$model/UI2/work/attendance/process/attendance/attendanceActivity.m.w' + (document.location.search || "");
    				context.view = $('#applicationHost').children()[0];
    				var element = document.getElementById('applicationHost');

					    				
    				
    				var ownerid = new URL(window.__justep.__ResourceEngine.url).getParam("$ownerid");
    				var pwindow = opener;
    				if (!pwindow &amp;&amp; window.parent &amp;&amp; window.parent.window){
    					pwindow = window.parent.window;
    				}
    				if(ownerid &amp;&amp; pwindow 
    						&amp;&amp; pwindow.__justep &amp;&amp; pwindow.__justep.windowOpeners
    						&amp;&amp; pwindow.__justep.windowOpeners[ownerid]
    						&amp;&amp; $.isFunction(pwindow.__justep.windowOpeners[ownerid].sendToWindow)){
    					window.__justep.setParams = function(params){
    						/* 给windowOpener提供再次传参数的接口  */
    						params = params || {};
    						composition.setParams(document.getElementById('applicationHost'), params);
    					};
    					var winOpener = pwindow.__justep.windowOpeners[ownerid];
    					$(window).unload(function(event){
    						if(winOpener &amp;&amp; winOpener.dispatchCloseEvent) winOpener.dispatchCloseEvent();
    					});
    					var params = winOpener.sendToWindow();
						context.owner = winOpener;
						context.params = params || {};
	        			composition.compose(element, context);
    				}else{
        				var params =  {};
    					var state = new HashbangParser(window.location.hash).parse().__state;
    					if (state){
    						params = state.get("");
    						try{
    							params = JSON.parse(params);
    							if (params.hasOwnProperty("__singleValue__")){
    								params = params.__singleValue__;
    							}
    						}catch(e1){}
    					}
    					context.noUpdateState = true;
        				context.params = params;
        				composition.compose(element, context);
    				}
    			});    
            }
		 	
        </script> 
  </body> 
</html>
